package modelLayer;


public class Copy {
    private int serialNumber;
    private String purchaseDate;
    private double purchasePrice;
    private boolean available = true;
    
    public Copy(int serialNumber, String purchaseDate, double purchasePrice) {
        this.serialNumber = serialNumber;
        this.purchaseDate = purchaseDate;
        this.purchasePrice = purchasePrice;
        
    }
    
    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }
    
    public void setPurchaseDate(String purchaseDate) {
        this.purchaseDate = purchaseDate;
    }
    
    public void setPurchasePrice(double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }
    
    public int getSerialNumber() {
        return serialNumber;
    }
    
    public String getPurchaseDate() {
        return purchaseDate;
    }
    
    public double getPurchasePrice() {
        return purchasePrice;
    }
    
    public void setAvailability(boolean available) {
        this.available = available;
    }
    
   public boolean getAvailability() {
       return available;
    }
    
}
